package com.asa.projectframe.model

import com.asa.common.net.ApiManager
import com.asa.common.net.NetModel
import com.asa.common.net.Result
import com.asa.projectframe.model.entity.CheckInCourseEntity

class MainModel:NetModel() {

    suspend fun checkInCourse(): Result<CheckInCourseEntity> {
        return safeRequest {
            executeResponse(ApiManager.getApiService(MainService::class.java).checkInCourse())
        }
    }

}